.class Lcom/estrongs/android/pop/app/compress/a$b$a;
.super Ljava/lang/Object;
.source "ArchiveExtractEditDialog.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/compress/a$b;->onClick(Landroid/content/DialogInterface;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/compress/a$b;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/compress/a$b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 13

    const/4 v0, 0x0

    const/4 v1, 0x1

    .line 1
    :try_start_0
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/estrongs/fs/impl/local/f;->c(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 2
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v1}, Lcom/estrongs/fs/impl/local/f;->a(Ljava/lang/String;Z)Z

    move-result v2
    :try_end_0
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :cond_0
    const/4 v2, 0x1

    goto :goto_0

    :catch_0
    const/4 v2, 0x0

    :goto_0
    if-nez v2, :cond_1

    .line 3
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f11077f

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ": "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v0}, Lcom/estrongs/android/ui/view/d;->a(Ljava/lang/CharSequence;I)V

    return-void

    .line 4
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->j(Lcom/estrongs/android/pop/app/compress/a;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    new-instance v2, Lcom/estrongs/android/pop/app/compress/a$g;

    invoke-direct {v2, v0}, Lcom/estrongs/android/pop/app/compress/a$g;-><init>(Lcom/estrongs/android/pop/app/compress/a;)V

    invoke-static {v0, v2}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;Lcom/estrongs/android/pop/app/compress/a$g;)Lcom/estrongs/android/pop/app/compress/a$g;

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->k(Lcom/estrongs/android/pop/app/compress/a;)Lcom/estrongs/android/pop/app/compress/a$g;

    move-result-object v0

    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->a:Landroid/view/View;

    const v3, 0x7f0901eb

    .line 7
    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/CheckBox;

    .line 8
    invoke-virtual {v2}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v2

    iput-boolean v2, v0, Lcom/estrongs/android/pop/app/compress/a$g;->c:Z

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->k(Lcom/estrongs/android/pop/app/compress/a;)Lcom/estrongs/android/pop/app/compress/a$g;

    move-result-object v0

    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/estrongs/android/pop/app/compress/a$g;->b:Ljava/lang/String;

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->k(Lcom/estrongs/android/pop/app/compress/a;)Lcom/estrongs/android/pop/app/compress/a$g;

    move-result-object v0

    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->b(Lcom/estrongs/android/pop/app/compress/a;)I

    move-result v2

    iput v2, v0, Lcom/estrongs/android/pop/app/compress/a$g;->a:I

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;Z)Z

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/compress/a;->a()V

    return-void

    .line 13
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->l(Lcom/estrongs/android/pop/app/compress/a;)Landroid/widget/EditText;

    move-result-object v0

    if-eqz v0, :cond_3

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->l(Lcom/estrongs/android/pop/app/compress/a;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    :cond_3
    const/4 v0, 0x0

    :goto_1
    move-object v7, v0

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->m(Lcom/estrongs/android/pop/app/compress/a;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 16
    new-instance v0, Lcom/estrongs/android/pop/app/compress/b;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    .line 17
    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object v3

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->n(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v4

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->c(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v5

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v6

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    .line 18
    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->d(Lcom/estrongs/android/pop/app/compress/a;)Ljava/util/List;

    move-result-object v8

    const/4 v9, 0x1

    const/4 v10, 0x0

    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    .line 19
    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->b(Lcom/estrongs/android/pop/app/compress/a;)I

    move-result v11

    const/4 v12, 0x0

    move-object v2, v0

    invoke-direct/range {v2 .. v12}, Lcom/estrongs/android/pop/app/compress/b;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZZILandroid/content/DialogInterface$OnDismissListener;)V

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/compress/b;->c()V

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/compress/a;->a()V

    return-void

    .line 21
    :cond_4
    new-instance v0, Lcom/estrongs/android/pop/app/compress/g;

    invoke-direct {v0}, Lcom/estrongs/android/pop/app/compress/g;-><init>()V

    .line 22
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->n(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/estrongs/android/pop/app/compress/g;->a:Ljava/lang/String;

    .line 23
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->c(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/estrongs/android/pop/app/compress/g;->b:Ljava/lang/String;

    .line 24
    iget-object v2, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/compress/a;->d(Lcom/estrongs/android/pop/app/compress/a;)Ljava/util/List;

    move-result-object v2

    iput-object v2, v0, Lcom/estrongs/android/pop/app/compress/g;->e:Ljava/util/List;

    .line 25
    iput-boolean v1, v0, Lcom/estrongs/android/pop/app/compress/g;->f:Z

    .line 26
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->h(Lcom/estrongs/android/pop/app/compress/a;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/estrongs/android/pop/app/compress/g;->c:Ljava/lang/String;

    .line 27
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->b(Lcom/estrongs/android/pop/app/compress/a;)I

    move-result v1

    iput v1, v0, Lcom/estrongs/android/pop/app/compress/g;->g:I

    .line 28
    iput-object v7, v0, Lcom/estrongs/android/pop/app/compress/g;->d:Ljava/lang/String;

    .line 29
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->e(Lcom/estrongs/android/pop/app/compress/a;)Lcom/estrongs/android/pop/app/compress/h;

    move-result-object v1

    if-eqz v1, :cond_5

    .line 30
    iget-object v1, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v1, v1, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/compress/a;->e(Lcom/estrongs/android/pop/app/compress/a;)Lcom/estrongs/android/pop/app/compress/h;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/app/compress/h;->a(Lcom/estrongs/android/pop/app/compress/g;)V

    .line 31
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->e(Lcom/estrongs/android/pop/app/compress/a;)Lcom/estrongs/android/pop/app/compress/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/compress/h;->a()V

    goto :goto_2

    .line 32
    :cond_5
    invoke-static {v0}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/pop/app/compress/g;)V

    .line 33
    :goto_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object v0

    instance-of v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v0, :cond_6

    .line 34
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/a;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const-string v1, "archive://"

    .line 35
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->j(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    .line 36
    :cond_6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/compress/a$b$a;->a:Lcom/estrongs/android/pop/app/compress/a$b;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/compress/a$b;->b:Lcom/estrongs/android/pop/app/compress/a;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/compress/a;->a()V

    return-void
.end method
